package com.shfl.servermanage.logic.mapper;

import com.shfl.servermanage.logic.bean.SysExecutableFile;
import com.shfl.servermanage.logic.model.response.SysExecutableFilePageResponse;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface SysExecutableFileMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysExecutableFile record);

    int insertSelective(SysExecutableFile record);

    SysExecutableFile selectByPrimaryKey(Long id);

    SysExecutableFile selectByPrimaryKeyWithLogicalDelete(@Param("id") Long id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByPrimaryKeySelective(SysExecutableFile record);

    int updateByPrimaryKey(SysExecutableFile record);

    int batchInsert(@Param("list") java.util.List<SysExecutableFile> list);

    int batchInsertSelective(@Param("list") java.util.List<SysExecutableFile> list, @Param("selective") SysExecutableFile.Column ... selective);

    int logicalDeleteByPrimaryKey(Long id);

    List<SysExecutableFilePageResponse> findPage(Map<String, Object> objectMap);
}